package cci.dao;

import java.util.List;

import javax.sql.DataSource;

import cci.jdbc.ConnexionJavaDB;

public abstract class DAO<T> {

    public DataSource datasource = ConnexionJavaDB.getInstance();

    public abstract T create(T obj); 

    public abstract T update(T obj); 

    public abstract void delete(T obj);

    public abstract T find(long id); 

    public abstract List<T> findAll();

	
}
